package com.xinchuang.entity.repacigi;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * <p>
 * 
 * </p>
 *
 * @author zx
 * @since 2023-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@TableName("repacigi_base_table")
public class RepacigiBaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "type_id")
    private String typeId;

    /**
     * 父类ID 默认0
     */
    @TableField(value = "parent_id")
    private String parentId;

    /**
     * 类型名称
     */
    @TableField(value = "type_name")
    private String typeName;

    /**
     * 类型 0为类型 1为MB
     */
    @TableField(value = "type")
    private String type;

    /**
     * 层级
     */
    @TableField(value = "level")
    private String level;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;


}
